#ifndef ACTION_HPP_
#define ACTION_HPP_

class EventManager;

/*
	Create an inherited class from this that implements a behaviour in response to
	a specific event. I.e. One action per one event.
*/
class Action
{
	public:

		void setOwner(EventManager* em) { m_pOwner = em; }
		EventManager* getOwner() { return m_pOwner; }
		virtual const char* getName() = 0;
		
		virtual void process() = 0;
		virtual void update(double dt) {};
		
	protected:
		EventManager*		m_pOwner;
};


#endif